<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录页面</title>
<style type="text/css">
	body {
	font-size: 12px;
	background-image: url(images/bg.gif);
	background-repeat: repeat;
}
</style>
</head>
    <LINK rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/styles/style.css">
    <LINK rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/styles/login.css">
    
	<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-1.8.2.min.js"></script>


<STYLE type="text/css">
.btnalink {
	cursor: hand;
	display: block;
	width: 80px;
	height: 29px;
	float: left;
	margin: 12px 28px 12px auto;
	line-height: 30px;
	background: url('<%=request.getContextPath() %>/images/login/btnbg.jpg') no-repeat;
	font-size: 14px;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}
</STYLE>



<script type="text/javascript">

	//登录提示方法
	function loginsubmit() {
		
		$("#loginform").submit();

	}
	
	function randomcode_refresh(){
		
		location.reload();
	}
	
</SCRIPT>
</HEAD>
<BODY style="background: #f6fdff url(<%=request.getContextPath() %>/images/login/bg1.jpg) repeat-x;">
	<FORM id="loginform" name="loginform" action="<%=request.getContextPath() %>/login"
		method="post">
		<DIV class="logincon">

			<DIV class="title">
				<IMG alt="" src="<%=request.getContextPath() %>/images/login/logo.png">
			</DIV>

			<DIV class="cen_con">
				<IMG alt="" src="<%=request.getContextPath() %>/images/login/bg2.png">
			</DIV>

			<DIV class="tab_con">
				${err }
				<input type="password" style="display:none;" />
				<TABLE class="tab" border="0" cellSpacing="6" cellPadding="8">
					<TBODY>
						<TR>
							<TD>用户名：</TD>
							<TD colSpan="2"><input type="text" id="usercode"
								name="username" style="WIDTH: 130px" /></TD>
						</TR>
						<TR>
							<TD>密 码：</TD>
							<TD><input type="password" id="pwd" name="password" style="WIDTH: 130px" />
							</TD>
						</TR>
						
						<%-- <TR>
							<TD>验证码：</TD>
							<TD><input id="randomcode" name="randomcode" size="8" /> <img
								id="randomcode_img" src="${baseurl}validatecode.jsp" alt=""
								width="56" height="20" align='absMiddle' /> <a
								 oncl
								href=javascript:randomcode_refresh()>看不清，换一张</a></TD>
						</TR> --%>

						<TR>
							<TD colSpan="2" align="center"><input type="button"
								class="btnalink" onclick="loginsubmit()" value="登&nbsp;&nbsp;录" />
								<input type="reset" class="btnalink" value="重&nbsp;&nbsp;置" /></TD>
						</TR>
					</TBODY>
				</TABLE>

			</DIV>
		</DIV>
	</FORM>
</html>